package cnn.test.controller;

import cnn.test.service.CoreService;
import cnn.topfox.annotation.TokenOff;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/core")
public class CoreController {
    @Autowired
    CoreService coreService;

    @TokenOff
    @GetMapping()
    public void get() {
        coreService.demo1();
//        coreService.demo2();
//        coreService.demo3();
//        coreService.demo4();
    }

}
